<!DOCTYPE html> 

<html>
  <head>
    <title>TOCsig</title>
    <link rel="stylesheet" href="/stylesheets/main.css" />
    <script src="/js/fade.js">
    </script>
    <script type="text/JavaScript">
      function init() {
{% block fades %}
        fadeColor("box","#000000","#FFFFFF",5,10,'b');
        fadeColor("heading","#000000","#898989",5,10,'f');
{% endblock %}
      }
      window.onload = init;
      {% block javascript %}
      {% endblock %}
    </script>
  </head>
  <body>
  <div id="breadcrumbs">
    # <a href="/">root</a> 
    {% for p in path %}
      {% if p.link %}
       / <a href="{{p.link}}">{{p.text|safe}}</a>
      {% else %}
        / {{p.text|safe}}
      {% endif %}
    {% endfor %}
    <br>
    {% if user.isLoggedIn %}
       <a href="/logout">[log out {{user.name}}]</a>
    {% else %}
       <a href="/login">[log in]</a>
    {% endif %}
  </div>
{% block content %}{% endblock %}
  </body>
</html>
